SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE PROCEDURE [dbo].gspSiteUserSiteEvent_INSERT
(
@userId AS int = null,
@eventId AS int = null,
@createDate AS datetime = null,
@isDeleted AS bit = null
)
AS

INSERT INTO
  [dbo].[SiteUser_SiteEvent]
(
  [UserId],
  [EventId],
  [CreateDate],
  [IsDeleted]
)
VALUES
(
  @userId,
  @eventId,
  @createDate,
  @isDeleted
)

SELECT SCOPE_IDENTITY()

GO
